mvn eclipse:eclipse -P tony
mvn clean package -P tony

#$TOMCAT_HOME/bin/shutdown.sh

echo removing tomcat webapps
echo -e '\n'
rm -rf $TOMCAT_HOME/webapps/testMaven

echo copying testMaven to tomcat webapps
echo -e '\n'
cp target/testMaven.war $TOMCAT_HOME/webapps

echo -e '\n'
echo starting tomcat ...
echo -e '\n'

#$TOMCAT_HOME/bin/startup.sh
